class SessionController < ApplicationController

def fin_sesion
    session[:cliente_correo] = nil
    session[:cliente_id] = nil
    session[:type] = nil
 
       redirect_to :controller => 'principals', :action => 'home'
       flash[:notice] = 'Se ha terminado la sesion'
end

end
